package srecorderr

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ SipsSrecordErrModel = (*customSipsSrecordErrModel)(nil)

type (
	// SipsSrecordErrModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSipsSrecordErrModel.
	SipsSrecordErrModel interface {
		sipsSrecordErrModel
	}

	customSipsSrecordErrModel struct {
		*defaultSipsSrecordErrModel
	}
)

// NewSipsSrecordErrModel returns a model for the database table.
func NewSipsSrecordErrModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) SipsSrecordErrModel {
	return &customSipsSrecordErrModel{
		defaultSipsSrecordErrModel: newSipsSrecordErrModel(conn, c, opts...),
	}
}
